package cn.tedu.service;

import java.util.List;

import cn.tedu.entity.Emp;
import cn.tedu.util.JsonResult;

public interface EmpService {

	public JsonResult<List<Emp>> empList();
	
	public JsonResult<Object> addEmp(String name,String salary,String age);
	
	public JsonResult<Object> deleteEmp(int id);
	public  JsonResult<Object> findById(int id);
	public  JsonResult<Object> updateEmp(int id,String name, double salary,int age);
}
